package com.zjitc.po;

import com.zjitc.annotation.RequestMapping;

/**
 * Create By IntelliJ IDEA
 *
 * @author: jsonor
 * @create-Time: 2017/10/30 13:35
 * @description: ${description}
 */
public class Student {

  private int age;
  private String name;
  public String address;

  public Student(int age, String name) {
    this.age = age;
    this.name = name;
  }

  public Student() {
    age = 13;
    name = "jsonor";
  }

  @RequestMapping(url = "hello world")
  public int getAge() {
    return age;
  }

  public void setAge(int age) {
    this.age = age;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  @Override
  public String toString() {
    return "Student{" +
        "age=" + age +
        ", name='" + name + '\'' +
        '}';
  }
}
